from selenium import webdriver

def init_driver(brower_type="Chrome",timeout=10):
    driver=None
    if brower_type=="Chrome":
        driver = webdriver.Chrome()
    elif brower_type=="Firfox":
        driver=webdriver.Firefox()
    driver.maximize_window()
    driver.implicitly_wait(timeout)
    return driver